extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]海军迷彩"
	att.maxHp = 350
	att.def = 40
	info = "受到炮击伤害时，赋予攻击者3层<致盲>\n[color=#DC143C]同时装备三件时可升级[/color]"
func _connect():
	._connect()
	masCha.connect("onHurt",self,"run")

func run(atkInfo):
	if atkInfo.atkType == sys.AtkType.GUN and atkInfo.hitCha.team != atkInfo.atkCha.team:
		atkInfo.atkCha.addBuff(buff.b_zhiMang.new(3))
	
func upgrade():
	name = "[color=#FFFF00][史诗]海军迷彩"
	info = "受到炮击伤害时，赋予攻击者3层<致盲>"
	att.maxHp = 700
	att.def = 80